#ifndef __losor_event_mapping_h__
#define __losor_event_mapping_h__

#include <inttype.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _map_info
{
    char *func_name;
    char *lib_path;
    char *version;
    char *desc;
} map_info;

typedef struct _event_map
{
    void *func;
    map_info *info;
} event_map;

int event_map_load();
event_map* get_processor( int64 evt );

#ifdef __cplusplus
};
#endif

#endif // __losor_event_mapping_h__
